﻿using System.Collections.Generic;
using CodeCamp.Models.Shared;
using System;

namespace CodeCamp.Models.Sessions
{
  public class SessionsListViewModel : SharedViewModel
  {
    // session list

    public List<Session> Sessions;
    public EventTags EventTags { get; set; }

    public class Tag
    {
      public int Id { get; set; }
      public string Name { get; set; }
    }

    public class Session
    {
      public int SessionId { get; set; }
      public string Title { get; set; }
      public string Description { get; set; }
      public SessionPresenters SessionPresenters { get; set; }
      public SessionTags SessionTags { get; set; }
      public string SessionMaterialsUrl { get; set; }
      public SessionScheduleInfo SessionScheduleInfo { get; set; }
    }


    // user state

    public bool IsUserAuthenticated { get; set; }
    public bool IsUserAPresenter { get; set; }
    public int UserPresenterId { get; set; }
  }
}